/**
 * 
 */
package com.java.test.user.service;

import java.util.List;

import com.java.test.user.dto.DrawingChannelInfo;
import com.java.test.user.dto.DrawingTypeInfo;

/**
 * @author Administrator
 *
 */
public interface DrawingMangeService {

	/**
	 * 提款类型列表
	 * 
	 * @return
	 */
	public List<DrawingTypeInfo> selectdrawingList();

	/**
	 * 添加提款类型
	 * 
	 * @param info
	 * @return
	 */
	public int insertdrawingInfo(DrawingTypeInfo info);

	/**
	 * 根据id查询
	 * 
	 * @param info
	 * @return
	 */
	public DrawingTypeInfo selectdrawingtypeInfobyId(DrawingTypeInfo info);

	/**
	 * 更新提款内容
	 * 
	 * @param info
	 * @return
	 */
	public int updatedrawingInfo(DrawingTypeInfo info);

	/**
	 * 更新排序
	 * 
	 * @param info
	 * @return
	 */
	public int updatedrawingsortInfo(DrawingTypeInfo info);

	/**
	 * 删除提款类型
	 * 
	 * @param info
	 * @return
	 */
	public int deletedrawingInfo(DrawingTypeInfo info);

	// - --- 提款渠道 -----
	public List<DrawingChannelInfo> selectdrawingchannelList(DrawingChannelInfo info);

	
	/**
	 * 添加提款渠道
	 * @param info
	 * @return
	 */
	public int insertdrawingchannelInfo(DrawingChannelInfo info);

	/**
	 * 根据id查找
	 * @param info
	 * @return
	 */
	public DrawingChannelInfo selectdrawingchannelInfobyId(DrawingChannelInfo info);

	/**
	 * 更新提款渠道
	 * @param info
	 * @return
	 */
	public int updatedrawingchannelInfo(DrawingChannelInfo info);

	/**
	 * 更新排序
	 * @param info
	 * @return
	 */
	public int updatedrawingchannelsortInfo(DrawingChannelInfo info);

	/**
	 * 删除提款渠道
	 * @param info
	 * @return
	 */
	public int deletedrawingchannelInfo(DrawingChannelInfo info);

	/**
	 * @param typeid
	 * @return
	 */
	public int selectdrawingchanbyTypeId(int typeid);

}
